package com.yuan.securitydemo.mapper;

import com.yuan.securitydemo.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface UserMapper {

    User loadUserByUserName(@Param("username") String userName);

    Integer registerUser(@Param("user") User user);

}
